3.77 \(\int \frac{1}{\sqrt{a+b x^2}} \, dx\)

Optimal. Leaf size=25 \[ \frac{\tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right )}{\sqrt{b}} \]

[Out]

ArcTanh[(Sqrt[b]*x)/Sqrt[a + b*x^2]]/Sqrt[b]

_______________________________________________________________________________________

Rubi [A]  time = 0.0169649, antiderivative size = 25, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182 \[ \frac{\tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right )}{\sqrt{b}} \]

Antiderivative was successfully verified.

[In]  Int[1/Sqrt[a + b*x^2],x]

[Out]

ArcTanh[(Sqrt[b]*x)/Sqrt[a + b*x^2]]/Sqrt[b]

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 2.45359, size = 22, normalized size = 0.88 \[ \frac{\operatorname{atanh}{\left (\frac{\sqrt{b} x}{\sqrt{a + b x^{2}}} \right )}}{\sqrt{b}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(1/(b*x**2+a)**(1/2),x)

[Out]

atanh(sqrt(b)*x/sqrt(a + b*x**2))/sqrt(b)

_______________________________________________________________________________________

Mathematica [A]  time = 0.0106199, size = 25, normalized size = 1. \[ \frac{\tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a+b x^2}}\right )}{\sqrt{b}} \]

Antiderivative was successfully verified.

[In]  Integrate[1/Sqrt[a + b*x^2],x]

[Out]

ArcTanh[(Sqrt[b]*x)/Sqrt[a + b*x^2]]/Sqrt[b]

_______________________________________________________________________________________

Maple [A]  time = 0., size = 21, normalized size = 0.8 \[{1\ln \left ( x\sqrt{b}+\sqrt{b{x}^{2}+a} \right ){\frac{1}{\sqrt{b}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(1/(b*x^2+a)^(1/2),x)

[Out]

ln(x*b^(1/2)+(b*x^2+a)^(1/2))/b^(1/2)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/sqrt(b*x^2 + a),x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [A]  time = 0.212995, size = 1, normalized size = 0.04 \[ \left [\frac{\log \left (-2 \, \sqrt{b x^{2} + a} b x -{\left (2 \, b x^{2} + a\right )} \sqrt{b}\right )}{2 \, \sqrt{b}}, \frac{\arctan \left (\frac{\sqrt{-b} x}{\sqrt{b x^{2} + a}}\right )}{\sqrt{-b}}\right ] \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/sqrt(b*x^2 + a),x, algorithm="fricas")

[Out]

[1/2*log(-2*sqrt(b*x^2 + a)*b*x - (2*b*x^2 + a)*sqrt(b))/sqrt(b), arctan(sqrt(-b
)*x/sqrt(b*x^2 + a))/sqrt(-b)]

_______________________________________________________________________________________

Sympy [A]  time = 3.61434, size = 17, normalized size = 0.68 \[ \frac{\operatorname{asinh}{\left (\frac{\sqrt{b} x}{\sqrt{a}} \right )}}{\sqrt{b}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(b*x**2+a)**(1/2),x)

[Out]

asinh(sqrt(b)*x/sqrt(a))/sqrt(b)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.235535, size = 31, normalized size = 1.24 \[ -\frac{{\rm ln}\left ({\left | -\sqrt{b} x + \sqrt{b x^{2} + a} \right |}\right )}{\sqrt{b}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/sqrt(b*x^2 + a),x, algorithm="giac")

[Out]

-ln(abs(-sqrt(b)*x + sqrt(b*x^2 + a)))/sqrt(b)